package cn.wlinker.video.monitor.domain;

import cn.wlinker.video.monitor.brand.hikversion.HikVisionAccessPlatformEnum;
import cn.wlinker.video.monitor.enums.VideoBrandEnum;
import cn.wlinker.video.monitor.enums.VideoStreamFormatEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

/**
 * @author gxsjx
 * @version 1.0
 * @date 2022/7/27
 */
@lombok.Data
@Accessors(chain = true)
public class VideoBaseEntity {

    @ApiModelProperty(value = "序列id")
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 摄像头类型 0:枪机 2:快球
     */
    @ApiModelProperty(value = "摄像头类别")
    private String cameraType;

    /**
     * 摄像头类型名称
     */
    @ApiModelProperty(value = "摄像头类别名称")
    private String cameraTypeName;

    /**
     * @see VideoBrandEnum
     */
    @ApiModelProperty(value = "监控品牌",allowableValues = "hk,dh,ys")
    private String monitorType;

    @ApiModelProperty(value = "通道ID")
    private Integer channelNo;

    /**
     * @see VideoStreamFormatEnum
     */
    @ApiModelProperty(value = "视频流格式",allowableValues = "hls,flv")
    private String videoStreamFormat;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "密码")
    private String pwd;

    /**
     * @see HikVisionAccessPlatformEnum
     */
    @ApiModelProperty(value = "接入平台类型",allowableValues = "ezopen,iSecure,net")
    private String accessPlatform;

    @ApiModelProperty(value = "设备码")
    private String deviceCode;

    @ApiModelProperty(value = "部门ID")
    private String departmentId;

    @ApiModelProperty(value = "关闭加密直播")
    private Integer liveClose;

    @ApiModelProperty(value = "状态")
    private String status;

    /**
     * 区域id
     */
    @ApiModelProperty(value = "区域id")
    private String regionIndexCode;

    /**
     * ip地址
     */
    @ApiModelProperty(value = "ip地址")
    private String ip;

    /**
     * 设备版本号
     */
    @ApiModelProperty(value = "设备版本号")
    private String deviceVersion;
}
